
namespace JTZY.Model.Business.Dto
{
    /// <summary>
    /// stock查询对象
    /// </summary>
    public class StockFlowItemQueryDto : PagerInfo 
    {
        public string snCode { get; set; }
    }

    /// <summary>
    /// stock输入输出对象
    /// </summary>
    public class StockFlowItemDto
    {
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }

        public string SheetNo { get; set; }

        public int? ProductId { get; set; }

        public string SnCode { get; set; }

        public string DbNo { get; set; }

        public string Memo { get; set; }

        [Required(ErrorMessage = "订单标志 0 销售单  1 采购单  2退货单  3盘点单  4小仓调配单不能为空")]
        public int OrderType { get; set; }

        [Required(ErrorMessage = "业务发生时间不能为空")]
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 出入库操作人
        /// </summary>
        public long UserId { get; set; }


        [ExcelColumn(Name = "订单标志 0 销售单  1 采购单  2退货单  3盘点单  4小仓调配单")]
        public string OrderTypeLabel { get; set; }
    }
}